package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloudkinto.vo.lc.LcOptionVo;
import com.cloudkinto.vo.lc.LcPageVo;
import com.cloudkinto.entity.LogisticsChannelDo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hua
 * @since 2024-10-29
 */
public interface LogisticsChannelDao extends BaseMapper<LogisticsChannelDo> {
    IPage<LcPageVo> list(@Param("page") IPage<LcPageVo> page, @Param("map") Map<String, Object> map);

    List<LcPageVo> list(@Param("map") Map<String, Object> map);

    List<LcOptionVo> getLcOptions(Long warehouseId, Long companyId, Long tenantId);


}
